import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入全局样式文件 global.css
import './assets/css/global.css'
import VueParticles from 'vue-particles'

import requestHttp from './utils/httpRequest'
// 作为全局的别名去使用: 说白了,就是requestHttp.js 取一个别名
Vue.prototype.$http = requestHttp

Vue.use(VueParticles)

Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
